package com.wisdytech.ccdserver.bucket.serveice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wisdytech.ccdserver.bucket.dto.BucketRecordDto;
import com.wisdytech.ccdserver.bucket.dto.BucketTaskDto;
import com.wisdytech.ccdserver.bucket.dto.MinitorBucketViewDto;
import com.wisdytech.ccdserver.bucket.model.BucketRecord;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.common.bean.UniqueResultResponse;

import java.util.List;


public interface IBucketRecordService extends IService<BucketRecord> {
    UniqueResultResponse batchSaveBucketRecord(List<BucketRecord> bucketRecordList, String taskid);

    UniqueResultResponse downLoadbatchSaveBucketRecord(List<BucketRecord> bucketRecordList, Filter filter);

    void SavePushRecords(Filter filter);

    List<BucketTaskDto> searchBucketRecordByTaskid(List<BucketTaskDto> list);

    void DealSyncBucketRecordDetails(String taskId);


    Integer countBucketNumByTaskId(String taskId);


    List<BucketRecordDto> SearchBucketDetailsByTaskIds(List<String> ids);

    void deleteBucketDetailsByTaskIds(List<String> ids);

    void deleteBucketRecordsByTaskIds(List<String> ids);
}
